package jwr;

import java.awt.Graphics;
import java.awt.Panel;
import java.awt.Point;
import java.awt.event.MouseEvent;
import java.awt.event.MouseListener;

public class MouseEventDemo extends Panel implements MouseListener{
	public MouseEventDemo() {
		addMouseListener(this);
	}
	
	public void mouseClicked(MouseEvent e) {
		
//		System.out.println("mouseClicked 메소드 수행");
	}

	@Override
	public void mousePressed(MouseEvent e) {
//		System.out.println("mousepressed 메소드 수행 위치 X : "+x+" Y : "+y);
	}

	@Override
	public void mouseReleased(MouseEvent e) {
//		System.out.println("mouseReleased 메소드 수행"+x+y);
	}

	@Override
	public void mouseEntered(MouseEvent e) {
//		System.out.println("mouseEntered 메소드 수행"+x+y);
	}

	@Override
	public void mouseExited(MouseEvent e) {
//		System.out.println("mouseExited 메소드 수행"+x+y);
	}
	
}
